package com.myenum;

/**
 * Created by Germmy on 2018/3/31.
 */
public enum ResponseEnum {

    SUCCESS("0000000", "success"), PASSWORD_NOT_EXIST("1000001", "specified id is not exist");


    private String errorCode;
    private String errorMessage;

    ResponseEnum(String errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;

    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
}
